package com.wjj.service;

import com.wjj.dto.StudentDTO;
import java.util.List;

/**
 * @Description
 * @Author junjun Wang
 * @Date Create in 22:59 2023/12/6
 **/
public interface StudentService {

	/**
	 * Get Students
	 *
	 * @return
	 */
	List<StudentDTO> getStudents();

	/**
	 * Get Student By student ID
	 *
	 * @param studentId
	 * @return
	 */
	StudentDTO getStudentById(Integer studentId);

	/**
	 * Add Student
	 *
	 * @param students
	 * @return
	 */
	Boolean addStudent(List<StudentDTO> students);

	/**
	 * Update  Student
	 *
	 * @param student
	 * @return
	 */
	Integer updateStudent(StudentDTO student);

	/**
	 * Delete Student By studentId
	 *
	 * @param studentId
	 * @return
	 */
	Integer deleteStudentById(Integer studentId);

	/**
	 * Get Student By ClassId
	 *
	 * @param classId
	 * @return
	 */
	List<StudentDTO> getStudentByClassId(Integer classId);

}
